package com.ccb.sc.common.modules.order.vo;

import com.ccb.sc.common.modules.order.enums.OrderReturnType;
import com.ccb.sc.common.enums.AuditStatus;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 订单项
 * </p>
 *
 * @author ken
 * @since 2020-09-25
 */
@Data
public class OrderItemVo implements Serializable {

    @ApiModelProperty("订单项id")
    private Long id;

    @ApiModelProperty("商品id")
    private Long goodsId;

    @ApiModelProperty("商品名称")
    private String goodsName;

    @ApiModelProperty("产品编码")
    private String spu;

    @ApiModelProperty("商品规格id")
    private Long goodsSpecId;

    @ApiModelProperty("商品规格")
    private String goodsSpec;

    @ApiModelProperty("规格编码")
    private String sku;

    @ApiModelProperty("规格图片")
    private String picture;

    @ApiModelProperty("单价")
    private BigDecimal price;

    @ApiModelProperty("数量")
    private Integer quantity;

    @ApiModelProperty("退款退货审核状态")
    private AuditStatus auditStatus;

    @ApiModelProperty("退货退款类型")
    private OrderReturnType returnType;

    @ApiModelProperty("退货退款Id")
    private Long orderReturnId;

    @ApiModelProperty("兑换积分")
    private BigDecimal exchangePoints;
}
